package com.xj.homework.pattern.singleton;

public class StaticInnerSingletonClass {

    private static class StaticInnerClass {
        public static StaticInnerSingletonClass INSTANCE = new StaticInnerSingletonClass();
    }

    private StaticInnerSingletonClass(){}

    public static StaticInnerSingletonClass getInstance() {
        return StaticInnerClass.INSTANCE;
    }
}
